<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/8/23
 * Time: 14:37
 * 删除用户所属角色
 */
//获取参数
$our_id = $route->bodyParams["our_id"];//主键ID

$whereArr = [
    "our_id" => $our_id
];

//执行写入语句
$rsData = $db->mysqlDB->delete("oa_user_role",$whereArr,false);

//返回成功结果
$response->responseData( true, $rsData );